package com.situ.student.service;


import com.situ.student.model.Student;
import com.situ.student.model.search.StudentSearchBean;
import com.situ.student.util.Pagination;

import java.util.List;

public interface StudentService {
    //查询所有学生
    List<Student> findAll(Pagination pagination, StudentSearchBean ssb);

    //批量删除
    int deleteByIds(List<Integer> ids);

    boolean save(Student student);

    boolean update(Student student);

    //查询指定学生的信息
    Student findById(Integer id);
}
